package com.activitiFlow.service;

import java.util.List;

import org.activiti.engine.history.HistoricProcessInstance;
import org.activiti.engine.history.HistoricTaskInstance;

public interface IHistoryBiz {

	/**
	 * 根据业务的ID和流程名称组合成的值查询历史的任务实例
	 * @param bunessKey
	 * @return
	 */
	HistoricProcessInstance queryHistoryProcessInstance(String bunessKey);
	
	/**
	 * 根据任务对象Id和节点名称 查询所有的历史任务记录
	 * @param processInstanceId
	 * @param activiId
	 * @return
	 */
	List<HistoricTaskInstance> queryHistoryTask(String processInstanceId, String activiId);

}
